package club.dataresources.service;

import club.dataresources.entity.Product;
import com.github.pagehelper.Page;


public interface ProductService {

    //增
	public boolean addProduct(Product product) throws Exception;

	//删
	public boolean removeProduct(Integer productId) throws Exception;

	//改
	public boolean updateProduct(Product product) throws Exception;

	//查
	public Product findProByPid(Integer productId) throws Exception;

	//列表
	public Page<Product> listProduct(Integer page, Integer rows,Product product) throws Exception;
}
